package com.java.singleton;

/**
 * 静态内部类
 * @author jingjintao
 * @date 2021/10/29 - 21:34
 **/
public class Singleton6 {

    private Singleton6(){

    }

    static class Inner{
        public static final Singleton6 INSTANCE = new Singleton6();
    }

    public static Singleton6 getInstance(){
        return Inner.INSTANCE;
    }
}
